package com.ibenew.demo.bcspaneldemo;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.ibenew.demo.bcspaneldemo.demo1.ui.TestRecyclearViewActivity;
import com.ibenew.demo.bcspaneldemo.weight.BorderTextView;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        LinearLayout linearLayout = (LinearLayout) findViewById(R.id.ll);
        TextView tv =new BorderTextView(this);
        tv.setText("hello");
        linearLayout.addView(tv);


    }

    public void startNew(View v){
        startActivity(new Intent(this,TestRecyclearViewActivity.class));
    }
}
